<!--
/**
* Author: zyf
* Date: 2020-07-23 10:11
* Desc: SeatError  座位加载失败
*/
-->

<template>
  <view class="seat-error tc">
    <image class="seat-error__img" model="aspectFit" src="https://public-oss-file.zmaxfilm.com/applet/img/film-oxygen-uniapp/empty/noCinema.png" />
    <view class="tc fs13 fc-white">座位加载失败</view>
    <view @click="refresh" class="seat-error__btn">刷新</view>
  </view>
</template>

<script>
  export default {
    name: 'SeatError',
    data() {
      return {}
    },
    methods: {
      // 初始化方法
      refresh() {
        this.$emit('refresh')
      }
    }
  }
</script>
<style lang="scss" scoped>
  .seat-error {
    padding-top: 90rpx;
    &__img {
      width: 220rpx;
      height: 220rpx;
    }
    &__btn {
      width: 160rpx;
      height: 54rpx;
      line-height: 54rpx;
      background: none;
      margin: 40rpx auto 0;
      background: #fff;
      color: #000;
    }
  }
</style>
